<?php
namespace Payment\Query\WNF;
use Payment\Common\WNFpay\WNFBaseStrategy;
use Payment\Common\WnfConfig;
use Payment\Common\WNFpay\Data\Query\ChargeQueryData;

class WNFChargeQuery extends WNFBaseStrategy
{
    public function getBuildDataClass(){
        return ChargeQueryData::class;
    }

    /**
     * 返回
     * @param null $url
     * @return string
     */
    public function getReqUrl($url = null){
        return parent::getReqUrl($url ?? WnfConfig::QUERY_URL); // TODO: Change the autogenerated stub
    }
}